package com.atguigu.yygh.service;

import com.atguigu.yygh.model.hosp.Hospital;
import com.atguigu.yygh.vo.hosp.HospitalQueryVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * @author kabuda
 * @create 2023-02-25 19:58
 */
public interface IHospitalService {

    void saveHospital(Map<String, Object> map);

    Hospital getHospitalByHoscode(String hoscode);


    Page<Hospital> list(Integer page, Integer limit, HospitalQueryVo hospitalQueryVo);

    void updateStatus(String id, Integer status);

    Map<String, Object> showHospitalInfo(String id);

    List<Hospital> findByHosName(String hosname);

}
